﻿using System;
using System.Collections.Generic;

namespace BaMusaSoft.RPS.DataModel
{
    [Serializable]
    public class Customer
    {
        public Customer()
        {
            Claims = new HashSet<Claim>();
            Contracts = new HashSet<Contract>();
        }

        public int CustomerId { get; set; }
        public string Name { get; set; }
        public string IdNumber { get; set; }
        public string IdDate { get; set; }
        public string IdIssue { get; set; }
        public string Address { get; set; }
        public string MainMobile { get; set; }
        public string SecondMobile { get; set; }
        public string HomePhone { get; set; }
        public string WorkPhone { get; set; }
        public string Fax { get; set; }
        public string Email { get; set; }

        public ICollection<Claim> Claims { get; set; }
        public ICollection<Contract> Contracts { get; set; }
        public ICollection<ClaimNumber> ClaimNumbers { get; set; }
    }
}